package com.micai.springboot.dto.sys;

import com.micai.springboot.base.BaseDto;

import java.sql.Timestamp;

/**
 * @Auther: zhaoxinguo
 * @Date: 2018/10/26 14:43
 * @Description:
 */
public class SysMsgSendDto extends BaseDto {
    /**
     * 消息类型  1:系统通知 2: 站内信 3:用户通知
     */
    private String type;
    /**
     * 消息标题
     */
    private String title;
    /**
     * 消息内容
     */
    private String content;
    /**
     * 消息级别 -1低 0普通 1高
     */
    private int level;
    /**
     * 接收人 多个用户的ID组合
     */
    private String users;
    /**
     * 发送人
     */
    private Long createBy;
    /**
     * 发送时间
     */
    private Timestamp createDate;
    /**
     * 状态 0草稿 1已发送
     */
    private String status;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getUsers() {
        return users;
    }

    public void setUsers(String users) {
        this.users = users;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Timestamp getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Timestamp createDate) {
        this.createDate = createDate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
